package caculate

//func AddNumber(a int, b int) int {
//return a + b
//}
//func SubtractNumber(a int, b int) int {
//	return a - b
//}

func AddNumberClose(a int, b int) func() int {
	return func() int {
		return a + b
	}
}

func NewCounter() func() int {
	count := 0
	return func() int {
		count++
		return count
	}
}
